<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>multiBrother</title>
</head>
<body>
	<p>Hi，<strong>cody</strong> welcome！</p>

	<script>
		let p = document.querySelector('p')

		console.log(p.childNodes.length)
		console.log(p.firstChild.data)
		console.log(p.firstChild.nextSibling)
		console.log(p.lastChild)

		console.log(p.textContent)
	</script>
</body>
</html>